package com.kyk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 餐厅-分类关联表
 * </p>
 *
 * @author 凯
 * @since 2025-09-12
 */
@Getter
@Setter
@TableName("restaurant_category_relations")
public class RestaurantCategoryRelations implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 关系ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 餐厅ID
     */
    private Long restaurantId;

    /**
     * 分类ID
     */
    private Integer categoryId;
}
